import request from "@/axios";
const prefix = "/s";

const getShareFileList = function() {
  return request({
    url: prefix + "/list"
  });
};

const cancelShare = function(shareId) {
  return request({
    url: prefix + "/delete/" + shareId
  });
};

export { getShareFileList, cancelShare };
